package com.supplychainapi.domain;

import com.supplychainapi.proxy.annotation.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("物料list请求")
public class MaterialListSearch {


    @ApiModelProperty(value = "页码",required = true)
    @NotNull
    private Integer pageNum;
    @ApiModelProperty(value = "每页条数",required = true)
    @NotNull
    private Integer pageSize;
    @ApiModelProperty(value = "搜索关键字", required = false)
    private String keyWords;
    @ApiModelProperty(value = "分类code或者name", required = false)
    private String fsNodeText;
    @ApiModelProperty(value = "店铺id", required = false)
    private String fsShopGuid;

    @ApiModelProperty(value = "只需要启用状态的", required = false)
    private boolean isEnabled = false;


    public boolean isEnabled() {
        return isEnabled;
    }

    public void setEnabled(boolean enabled) {
        isEnabled = enabled;
    }

    public String getFsShopGuid() {
        return fsShopGuid;
    }

    public void setFsShopGuid(String fsShopGuid) {
        this.fsShopGuid = fsShopGuid;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getKeyWords() {
        return keyWords;
    }

    public void setKeyWords(String keyWords) {
        this.keyWords = keyWords;
    }

    public String getFsNodeText() {
        return fsNodeText;
    }

    public void setFsNodeText(String fsNodeText) {
        this.fsNodeText = fsNodeText;
    }
}